﻿using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace ParkManagement
{
    /// <summary>
    /// 挪车数据传输对象
    /// </summary>
    public class CreateMoveDto : EntityDto<int>
    {
        [Display(Name = "车牌号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string PlateNo { get; set; }

        [Display(Name = "现场照片")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Photo { get; set; }

        [Display(Name = "身份证号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string IdCard { get; set; }

        [Display(Name = "联系电话")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Tel { get; set; }

        [Display(Name = "省")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Province { get; set; }

        [Display(Name = "市")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string City { get; set; }

        [Display(Name = "区")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Area { get; set; }

        [Display(Name = "详细地址")]
        public string Address { get; set; }
    }
}